﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucMoverModulo2.ascx.cs"
    Inherits="wRegPadron.frmOpciones.ucMoverModulo2" %>
<table width="100%">
    <tr>
        <td colspan="2" valign="top" align="left">
            <fieldset>
                <legend>
                    <h3>
                        <p style="padding-left:10px;"><asp:Label runat="server" ID="lblTitulo"></asp:Label></p>
                        <p style="padding-left:10px;">
                            <small>
                                <asp:Label runat="server" ID="lblDescripcion"></asp:Label></small></p>
                    </h3>
                </legend>
            </fieldset>
        </td>
    </tr>
    <tr>
        <td align="center">
            <asp:HiddenField ID="hfIdElemento" runat="server" />
            <asp:HiddenField ID="hfIdDestino" runat="server" />
            <table width="95%">
                <tr>
                    <td align="left" class="muted">
                        Mover un:
                    </td>
                    <td align="left">
                        <asp:DropDownList runat="server" ID="ddlTipoELemento" CssClass="tdInput">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" class="muted">
                        Seleccione el elemento:
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2">
                        <div id="PosGrid">
                            <asp:TreeView runat="server" ID="tvElementos" OnSelectedNodeChanged="tvElementos_SelectedNodeChanged"
                                ShowLines="true">
                                <LevelStyles>
                                    <asp:TreeNodeStyle CssClass="text-info" Font-Underline="False" />
                                    <asp:TreeNodeStyle CssClass="text-success" Font-Underline="False" />
                                    <asp:TreeNodeStyle CssClass="muted" Font-Underline="False" />
                                </LevelStyles>
                            </asp:TreeView>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Label runat="server" ID="lblSeleccion" CssClass="text-success"></asp:Label>
                        <asp:Label runat="server" ID="lblErrorSeleccion" CssClass="text-error"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" class="muted">
                        Seleccione el nodo destino:
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2">
                        <div id="PosGrid2">
                            <asp:TreeView runat="server" ID="tvDestino" ShowLines="true" OnSelectedNodeChanged="tvDestino_SelectedNodeChanged">
                                <LevelStyles>
                                    <asp:TreeNodeStyle CssClass="text-info" Font-Underline="False" />
                                    <asp:TreeNodeStyle CssClass="text-success" Font-Underline="False" />
                                    <asp:TreeNodeStyle CssClass="muted" Font-Underline="False" />
                                </LevelStyles>
                            </asp:TreeView>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:Label runat="server" ID="lblDestino" CssClass="text-success"></asp:Label><asp:Label runat="server" ID="lblErrorDestino"
                            CssClass="text-error"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:UpdatePanel ID="upGuardar" runat="server">
                            <ContentTemplate>
                                <asp:Button runat="server" ID="btnGuardar" Text="Guardar" CssClass="btn" OnClick="btnGuardar_Click" />
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:UpdateProgress ID="UpdateProgress3" runat="server" AssociatedUpdatePanelID="upGuardar">
                            <ProgressTemplate>
                                <div id="load">
                                    <img src="../Imagenes/updateProgress2.gif" width="35" height="35" alt="" /><br />
                                    Guardando ...
                                </div>
                            </ProgressTemplate>
                        </asp:UpdateProgress>
                        <asp:Label runat="server" ID="lblGuardar" CssClass="text-error"></asp:Label>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
